package com.bootstrap.springboot.model;

import java.util.Date;

public class Alarm {
    private Long id;

    private String status;

    private Integer voiceid;

    private String voiceip;

    private Short alarmType;

    private String alarmLevel;

    private Date startAlarmTime;

    private Date stopAlarmTime;

    private String message;

    private String approach;

    private String parameters;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Integer getVoiceid() {
        return voiceid;
    }

    public void setVoiceid(Integer voiceid) {
        this.voiceid = voiceid;
    }

    public String getVoiceip() {
        return voiceip;
    }

    public void setVoiceip(String voiceip) {
        this.voiceip = voiceip == null ? null : voiceip.trim();
    }

    public Short getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(Short alarmType) {
        this.alarmType = alarmType;
    }

    public String getAlarmLevel() {
        return alarmLevel;
    }

    public void setAlarmLevel(String alarmLevel) {
        this.alarmLevel = alarmLevel == null ? null : alarmLevel.trim();
    }

    public Date getStartAlarmTime() {
        return startAlarmTime;
    }

    public void setStartAlarmTime(Date startAlarmTime) {
        this.startAlarmTime = startAlarmTime;
    }

    public Date getStopAlarmTime() {
        return stopAlarmTime;
    }

    public void setStopAlarmTime(Date stopAlarmTime) {
        this.stopAlarmTime = stopAlarmTime;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    public String getApproach() {
        return approach;
    }

    public void setApproach(String approach) {
        this.approach = approach == null ? null : approach.trim();
    }

    public String getParameters() {
        return parameters;
    }

    public void setParameters(String parameters) {
        this.parameters = parameters == null ? null : parameters.trim();
    }
}